package com.example.back.mapper;

import com.example.back.model.AreaDetails;
import com.example.back.model.Food;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
* @author jialily
* @description 针对表【t_food】的数据库操作Mapper
* @createDate 2022-04-29 17:21:11
* @Entity com.example.back.model.Food
*/
@Mapper
public interface FoodMapper {

    public List<Food> selectAll();

    public Food selectFood(String foodname);

    public int updateFood(int id, String name,String fooddes);

    public int deleteFood(int id);

    public int insertFood(String name,String fooddes);

}
